package com.jiyun.controller;

import com.jiyun.mapper.OrederMapper;
import com.jiyun.pojo.entity.Order;
import com.jiyun.service.PingjiaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class PingjiaController {
    @Autowired
    private PingjiaService pingjiaService;
    /*点击确认为待评价状态
    * 传过来一个订单号id
    * */
    @RequestMapping("updateStatusByID")
    public void updateStatusByID(Integer oid){
        pingjiaService.updateStatusByID(oid);
    }

}
